<h2>Zmień nazwę kategorii</h2>
<?php
Optimiser::addCssFile("css/gallery.css");
echo $this->Blueprint->info("Czy chcesz " . $this->Html->link('wrócić do listy kategorii', array('action' => 'admin_index')) . "?");

echo $this->Form->create('PhotoCategory', array(
    'inputDefaults' => array(
        'label' => false,
        'div' => false
    ),
    'url' => array('controller' => 'Gallery', 'action' => 'admin_rename_category', 'admin' => true)
));
echo $this->Form->hidden('id');
echo $this->Table->open();
echo $this->Table->row("Nazwa: ", $this->Form->input('title'));
echo $this->Table->row("", $this->Form->end('Zapisz'));

echo $this->Table->close();
?>